package com.imooc.code;

import com.imooc.security.core.validator.code.ImageCode;
import com.imooc.security.core.validator.code.ValidateCodeGenerator;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

// @Component
public class DemoCodeGenerator implements ValidateCodeGenerator {
    @Override
    public ImageCode generateCode(HttpServletRequest request) {
        System.out.println("demo的验证码");
        return null;
    }
}
